Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Movies and Your Event Loop


GetTrackStatus

The GetTrackStatus function returns the value of the last error the media encountered while playing a specified track. This function returns information about errors that are encountered during the processing associated with the MoviesTask function (described on page 2-110). These errors typically reflect playback problems, such as low-memory conditions.

The media clears this error code when it detects that the error has been corrected.

pascal ComponentResult GetTrackStatus (Track theTrack);
theTrack
Specifies the track for this operation. Your application obtains this track identifier from the GetMovieStatus function, described in the previous section.
DESCRIPTION
The GetTrackStatus function returns the last error encountered for the specified track. If the component does not find any errors, the result is set to noErr.

ERROR CODES
Any Movie Toolbox result code (see "Summary of the Movie Toolbox" at the end of this chapter)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996